import 'package:flutter_xiaomi/app/modules/address/services/address_service.dart';
import 'package:flutter_xiaomi/app/modules/address/services/address_service2.dart';
import 'package:get/get.dart';

import '../controllers/address_controller.dart';

class AddressBinding extends Bindings {
  @override
  void dependencies() {
    //控制器的绑定
    Get.lazyPut<AddressController>( () => AddressController(),);

    ///单独使用：Service的绑定
    //Get.lazyPut(() => AddressService());
    Get.lazyPut(() => AddressService2());
  }
}
